package com.kool.kmqtt.server.parser;

import com.kool.kmqtt.server.packet.FixedHeader;
import io.netty.buffer.ByteBuf;

/**
 * DISCONNECT报文解析器
 */
public class DisconnectPacketParser extends PacketParser {
    public DisconnectPacketParser(FixedHeader fixedHeader) {
        super(fixedHeader);
    }

    @Override
    public void parseVariableHeader(ByteBuf in) {
        //没有可变报头
    }

    @Override
    public void parsePayload(ByteBuf in) {
        //没有载荷
    }
}
